﻿// --------------------------------
// <copyright file="EntityDataModelRepositoryBase.cs" company="OpenTicket">
//     Microsoft Public License (Ms-PL)
// </copyright>
// <author>Glenn</author>
// ---------------------------------

using OpenTicket.Repositories.Entitymodel;

namespace OpenTicket.Repositories
{
    /// <summary>
    /// Base class for OpenTicket ADO.NET Entity Framework Repository
    /// </summary>
    public class EntityDataModelRepositoryBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="EntityDataModelRepositoryBase"/> class.
        /// </summary>
        public EntityDataModelRepositoryBase()
        {
            this.Edm = new OpenTicketEDM();
        }

        /// <summary>
        /// Gets or sets The Entity model
        /// </summary>
        /// <value>The EntityData model</value>
        protected OpenTicketEDM Edm { get; set; }
    }
}
